package com.itheima.aop;

import org.aspectj.lang.annotation.Pointcut;

public class MyPointCut {

    @Pointcut("execution(* com.itheima.service.impl.DeptServiceImpl.add(..))")
    public void pt1() {
    }

    @Pointcut("execution(* com.itheima.service.impl.DeptServiceImpl.delete(..))")
    public void pt2() {
    }

    @Pointcut("execution(* com.itheima.service.impl.DeptServiceImpl.update(..))")
    public void pt3() {
    }

}
